Skip to main content

Particle Class

Description:

  A class that can create new Particle objects.

__call

Type: Metamethod.

Description:

  Creates a new Particle object from a particle system file.

Signature:

metamethod __call: function(self: ParticleClass, filename: string): Particle

Parameters:

ParameterTypeDescription
filenamestringThe file path of the particle system file.

Returns:

Return TypeDescription
ParticleA new Particle object.